home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / OpenGL / glximportcontextext.z / glximportcontextext
Encoding:
Text File  |  2002-10-03  |  5.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT((((3333GGGG))))     OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ---- GGGGLLLLXXXX     ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT - import another process's indirect rendering
  10.      context.
  11.  
  12.  
  13. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  14.      GLXContext ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT( Display *_d_p_y,
  15.                                      GLXContextID _c_o_n_t_e_x_t_I_D )
  16.  
  17.  
  18. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  19.      _d_p_y        Specifies the connection to the X server.
  20.  
  21.  
  22.      _c_o_n_t_e_x_t_I_D  Specifies a GLX rendering context.
  23.  
  24.  
  25. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.      ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT creates a GLXContext given the XID of an existing
  27.      GLXContext.  It may be used in place of ggggllllXXXXCCCCrrrreeeeaaaatttteeeeCCCCoooonnnntttteeeexxxxtttt, to share
  28.      another process's indirect rendering context.
  29.  
  30.      Only the server-side context information can be shared between X clients;
  31.      client-side state, such as pixel storage modes, cannot be shared. Thus,
  32.      ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT must allocate memory to store client-side
  33.      information. This memory is freed by calling ggggllllXXXXFFFFrrrreeeeeeeeCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT.
  34.  
  35.      This call does not create a new XID.  It merely makes an existing object
  36.      available to the importing client (Display *).  Like any XID, it goes
  37.      away when the creating client drops its connection or the ID is
  38.      explicitly deleted. Note that this is when the XID goes away. The object
  39.      goes away when the XID goes away AND the context is not current to any
  40.      thread.
  41.  
  42.      If _c_o_n_t_e_x_t_I_D refers to a direct rendering context then no error is
  43.      generated but ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT returns NULL.
  44.  
  45.      ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT is part of the EEEEXXXXTTTT____iiiimmmmppppoooorrrrtttt____ccccoooonnnntttteeeexxxxtttt extension, not part
  46.      of the core GLX command set. If GGGGLLLLXXXX____EEEEXXXXTTTT____iiiimmmmppppoooorrrrtttt____ccccoooonnnntttteeeexxxxtttt is included in the
  47.      string returned by ggggllllXXXXQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnnssssSSSSttttrrrriiiinnnngggg, when called with argument
  48.      GGGGLLLLXXXX____EEEEXXXXTTTTEEEENNNNSSSSIIIIOOOONNNNSSSS, extension EEEEXXXXTTTT____iiiimmmmppppoooorrrrtttt____ccccoooonnnntttteeeexxxxtttt is supported.
  49.  
  50.  
  51. EEEERRRRRRRROOOORRRRSSSS
  52.      GGGGLLLLXXXXBBBBaaaaddddCCCCoooonnnntttteeeexxxxtttt is generated if _c_o_n_t_e_x_t_I_D does not refer to a valid
  53.      context.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT((((3333GGGG))))     OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ---- GGGGLLLLXXXX     ggggllllXXXXIIIImmmmppppoooorrrrttttCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT((((3333GGGG))))
  71.  
  72.  
  73.  
  74. SEE ALSO
  75.      ggggllllXXXXCCCCrrrreeeeaaaatttteeeeCCCCoooonnnntttteeeexxxxtttt, ggggllllXXXXQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn, ggggllllXXXXQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnnssssSSSSttttrrrriiiinnnngggg,
  76.      ggggllllXXXXGGGGeeeettttCCCCoooonnnntttteeeexxxxttttIIIIDDDDEEEEXXXXTTTT, ggggllllXXXXFFFFrrrreeeeeeeeCCCCoooonnnntttteeeexxxxttttEEEEXXXXTTTT
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.